package a66weding.com.jiehuntong.fragment.homeshopcase;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 * @version :
 * @creator : AxDu
 * @create-time : 2016/8/30
 * @description :
 */
public abstract class BaseShopCaseFragment extends Fragment {



    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        getData();

    }




    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = initView(inflater,savedInstanceState);
        return  view;
    }

    @Override
    public void onActivityCreated(Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        initData();
    }


    public void getData() {

    }


    public abstract View initView(LayoutInflater inflater, Bundle savedInstanceState);




    public void initData(){




    }



}
